package com.czxy.demo01;

public class Test09 {
    public static void main(String[] args) {


        String [] arrA = {"a","b","c","d","e"};
        String [] arrB = new String[5];

        show(arrA,arrB);
    }
    public static void show(String[] arrA,String[] arrB){
        for (int i = 0; i <arrA.length ; i++) {
            arrB[arrB.length-1-i]=arrA[i];
        }

        for (int i = 0; i <arrB.length ; i++) {
            System.out.print(arrB[i]+" ");
        }
    }
}
